Cleanup
Smoother OpenGL rendering in multithreading apps