FIX: more accurate on-global-epilog event generation.
FIX: more accurate on-global-epilog event generation.

rheber/red,rheber/red,iArnold/red,red-eco/red,red-eco/red,NikolayShubenkovProgSchool/red,vehar/red,NikolayShubenkovProgSchool/red,vehar/red,iArnold/red