remove InpGrab config, eliminate dead code, fix glu include for Mac