It turns out one of the users of the family PC (who shall rename nameless) has a habit of double-clicking on an email message to view it, but never closes the tab.
There are now 1000s of tabs in Thunderbird (3.1.9 on Windows). Is there a quick way to close them all? Is there a plain-text file (XML format ok) that I can edit to get rid of them?