Working on the GUI. Next step: fix dialog boxes!