improved Program::checkProgram & Program::checkShader