* Added a test.
* Mouse events are ok.
* Keyboard events work partially.