Focus the editor on connect; focus the browser on disconnect #19