Made changes to be able to compile the GUI