Speed up grid drawing.
Fix updating of stretch and window size labels.