Bugs in removeTab were keeping closeTabsRight from iterating.