Update event system (doesn't work)

UThash seems to be broken, for no discernable reason. I've posted on
their google group, and am awaiting reply. HASH_FIND_STR always returns
NULL.
Some events work now
Fix typo, new event system works now