improvements to loading of voxel objects
merge delete[] fix