adds some functionality to EditSessionController (not working fully yet.)
refactors CTRL-W functionality for all panels individually