Added exception handling code to VertexBuffer.cpp. Also, fixed the really bad vertex array code. Like really bad. I cannot believe I actually wrote that.