Merge pull request #31 from bendem/patch

Fix jd typo
Print errors thrown by event handlers