added FREEGLUT_STATE_AWARE_CALLBACKS to config header as a switch