Use OpenGL sync fences added to MLT to replace glFinish().