Track which tabs are visible and most-recently-used.