- added event handling to user scripts; - gotta fix stacktrace analysis