Added a good deal of functionality

The editor can now do things such as paint and communicate with the
menus (to be added in a bit)