checked for errors before initializing glew
accidentally commited debug stuff