Add render threading for GlWindow