Holed up in a windowless West Wing office, Jim Messina is working on his usual assignment: fixing President Obama’s problems.