Change rendering operations to game loop thread
Support high-level graphics context