Added some deletes and also backspace function
Cleaned up main loop; removed some hardcoded values

Moved event handling to function in seperate file.

Added defines for default values and gridsquare size.
Added info message box.

Added MessageBox class
Dialog now inherits from this.