Added extremely basic engine framework.

Added mainloop, debugging ouput area, canvas, and basic framework for
event handling and scrolling.