Cleans up MeshBuffer and MeshData a bit.