Browser window selection history refactoring.