made some GameGUI functions constant