Removed most engine stuff, fixed the GL context, removed unneccessary references to GUIManager