repaired gui.hpp, now compiles