copy dirty lines to screen, add select() timeout & min time between draw() calls.