more checks
bug fix: initBlackTex() was called when OpenGL context was not valid - call it from paintGL instead
check OpenGL errors