Some corrections in saveMatt() function
Corrections in MattSlots and MattInfoEntity files