Merge "Fix a severe cleanup bug where teardown of the GL driver could occur on the wrong thread."