Have you tried going into safe mode and uninstalling avast? you can remove avast in SAFE mode using the Uninstall Utility http://www.avast.com/uninstall-utility