MainGUI made into an actual GUI