Added "#version 150" to shader macro for desktop OpenGL.
Added log entry if indexOfAttribute fails for a shader program.