[DF-3486] Added globalmaterial save/load