There is a known problem between Thunderbird 31 and avast. For now, use a older version of Thunderbird and wait till the developers have solved it.