Updated all uses of setEventHandler to use new subscribe mechanism
fixes #2
Merge pull request #5 from MichaelMauderer/issue/#2

Updated all uses of setEventHandler to use new subscribe mechanism