master - added debugging flag
master - allowed for nullptr parameter in glGetShaderInfoLog