Events

As agreed in the chat heres a pull that only adds the crash fixes so we can get out 0.1 soon.

Fixes #4 and #79 and other crashes that I encountered in the interpreter...