Created a hook into the event handling logic so that it's possible to modify the UI's default event handling scheme. For example in lab.app, there's now a fixed argument to all handler functions.