I simply did a System Restore to a date right before I started having problems.
Then I suggest a repair of avast installation.
Go to Control Panel > Add/Remove programs > avast! antivirus > Remove. Then choose Repair function in the popup window (Repair).