Fixed reference to module variables. (GUI.gui, GUI.use_gui, etc.)