Updated all uses of setEventHandler to use new subscribe mechanism

fixes #2