Corrected test17. FBO test17 is now functional. Added GL_CHECK macro for error checks.