added simple ruler bars and started user/pixel space separation

- currently, the user-drawn lines are still only in px space
got simple panning working
converted drawing and selection of lines to using user-space coords
minor tweak to ruler drawing
implemented simple zooming with z and Z keys
Merge branch 'master' into struct_changes
still really broken