Made the compiler better interface with the gui
Tweaked the gui to work better