Fixing event handling. Adding documentation.
5 files changed