Work towards getting terminal switching down. New shells appear on terminals.