Event ids are now members of wxMaxima class.
Replace recursion with loop when saving group cells.