Core/EventMap: Some rewrite and doxygen documentation

Incomplete, to be continued.
Fix line indents...