works for full screen updating.  need to work on dirty rectangles