Major changes -- removal of old event code.

Not completely done yet though -- still have to handle different signal
senders and use a non-NULL sender for "global" events.