Housekeeping.
Saving on exit. Removed the buttons from the UI.
Added an exit() method.