refactor out virtualDoubleBufferDraw
doubleBufferFlush refactored out
widgetConfig for turning on/off widgets. introduce unboxSet, unboxLens.
implement toggle on/off Pan-Zoom widget
close button on Pan/Zoom widget