EventManager rework.
Merge branch 'master' of https://github.com/Milias/ddsimulator.git