glutPostRedisplay seems unneeded
pressing R, C, P, or S pauses simulation. also nicer handling of bools