By any measure, 2012 was a year to forget.