a minor fix to the update if graphics disabled

Hello Dr. Vaughn,

I've noticed that the code wasn't working when graphics was turned off, so I've made a change that should remedy that.
Also I've changed the OpenGL include to <GL/glut.h>  to match linux folders

Thanks,
-Allan Saravi