Fixed gui stuff for compiling