Changed event handler code so that you can all event handlers are bound, and the event handler code checks for enabled or disabled status.