Added support for Focus Event notification
added focus filtering
missed conditional check for sending event
Refactor to use session_set_current_winlink
Add support for focus notify on window switch
Fix so closing windows works
Refactor to shared focus_notify
Use new method in cmd-break-pane
Clean up formatting