Amid Gloom, Obama Pledges a Recovery