Added the start of the new(er) event system.

It isn't in use yet.