Added a settings dialog (closes #95), slightly polished the gui layout.