more useful logging on tab switch