Threading glutMainLoop()