Implemented test suggested in https://github.com/tmux-plugins/tmux-resurrect/issues/57 to preserve automatic window renaming.