More work on gviz. Factor out translations to the bitmap drawing.

This also reverts to wx.SHAPED for the gviz packing, and specifies a minimum
size with the correct aspect ratio.