Event handler working.

kind of. Bored and moving on.