Paranoid commit

Added a whole bunch of drawing stuff, including zooming and panning.