His campaign co-chairman resigned after calling Americans worried about the economy " whiners " ; his opposition to a timetabled withdrawal in Iraq is in danger of being eclipsed by events on the ground ; and a series of gaffes and sheer bad luck have contrasted poorly with Mr Obama 's almost flawless foreign tour .