mix IDE M2

Integrated debugger;
Hit F5 and you can step forwards/backwards through execution.

registerEvent is called by objects which want to handle keypressed event.
But this line (line 30) cannot be moved in the KeyEventManager's constructor.