consistently use Qt4
don't use GLUT_DEBUG w/o it being defined
check for GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS before use