No longer throws an error when unregistering events.

Fixes #42
Merge pull request #43 from jmeas/fix-remove-handler-error

No longer throws an error when unregistering events.