bringing mouse and key events in the addon.
(This started a mega clean. More to follow.)