ShellEditor: top level shell swapping.