SD2 update
[12437] Implement spell 24324
[mr2774] more safe groups store cleanup at startup. related to #1345, testing