Added an OpenGL debug callback.
The set_*_buffer_data functions now bind the buffer correctly.