updates for meshes and drawing

so many perf fixes and test