Make some improvements to how we track history, what we filter out, how we pick up history from previous tabs