Reverted forward declarations in GUI