Added check for glewInit()