Improve documentation, fix some issues found along the way.

Added support for mouse wheel events.