Vertex attrib array fixes, some code cleanup. Indices testing. Ready to draw(?).