Updated mainGUI