Refactor: Eliminate glutSwapBuffers and some other GLUT references