Use the vertex array object correctly and also use the QtOpenGL helpers

Like the buffer object. The cool thing about that is scoping :)