Rewrote entire GUIHandler class from scratch