Refactor model loading, implement VBO indexing, and port sample #9.