Loading
Move EventB event action generation to use a single helper function.
Moving from the previous function, move the single event generation work to a single function, reducing duplication. Also move some other duplicated lines to single places, reuse common variables, and start actionNo at 1, avoiding an unnecessary addition on each loop iteration. This was just a cleanup, building on the previous commit.