Add toolbar to more easily change editing modes

Add buttons for:
* Open
* Save
* Save-as
* Add rectangle
* Add points
* Help (opens wiki page)

and indicators for:
* Snap to grid
* Snap to axis

Also detect when there are unsaved changes, and prompt to save on exit.