I was running the newest avast. (2014?) And yes, it was done in safe mode.