Expose events explicitly fixes #897

this should allow external programs to act upon events inside stylus, for example see: [square PR](https://github.com/observing/square/pull/48)

In addition to the exposed `file not found` this could be done for other events.