This should make closing panes more consistent and reliable; there were some cases where we wouldn't always terminate the associated process and this improves that. There are also some resize boundary check improvements. refs: https://github.com/wez/wezterm/issues/157#issuecomment-700408882 refs: https://github.com/wez/wezterm/issues/157#issuecomment-700335114