Big changes to GUI frontend, almost complete