Log errors, get rid of 1280 error caused by glewInit()