Fixed the GUI so it displays in the frame properly. Well, mostly.