Merge branch 'preston-panning'

* preston-panning:
  Save for merge
  Fixed 'unexpected end of input' bug
  Text widget using div overlay
  Added code that uses the arrow keys to pan the viewer, and an incomplete dialog widget