added persistence of panes after initial command exited