Removed traces of OpenGL. Now makes use of render callbacks.