Use less λs so as to make debugging easier.

fixes #20
one function to handle two events
removed temporary file (added accidentally)
Merge pull request #21 from voldyman/less-λ

Use less λs so as to make debugging easier.