added focus listener to mainWindowController