Changes for the gui to function - which it does not...