Updated compatibility with Thunderbird 24