Add OpenGL and AGL frameworks. Continuously poll sensors.