Release buffers when deleting VAO + cleaned up some code