Added graphics manager, and context creation.