Glut backend works again (but is not yet complete).