removed (most of the) globals

large rework to remove globals

class hierarchy is now
Page -> PanZoom, Layer -> Shape

Editor -> Tool, ToolLayer -> SelectList, Grid, Screen, CommandList

PropertyPanel

StylePanel -> Style