- Added two private methods to MaterialsManager: lockMaterials() and removeMaterials().
- MaterialsManager now has MeshesMaterial as a friend.