Fixed issues with GLShader and Manager