Add missing #include <GLUT/glut.h>; suppress Clang warning about parameter to CGBitmapContextCreate( ) (docs say it's safe)
Replace deprecated NSImage method with recommended equivalent
Add missing #include <OpenGL/glu.h>