Multiple functions added and some reviewed to adapt to the new multi-mesh, multi-material and animated models.