completely redid events

Event list is now global instead of per-node, and it works! Just need to
add statistical information and comments.