Added glewExperimental = GL_TRUE; so that glVertexAttribDivisor doesn't segfault on my laptop.