Made some changes to PolyMeshDetail, still creating dangling faces sometimes.