Stocks closed with constructive gains on Thursday as upbeat corporate earnings and a rally in oil helped offset earlier pressure tied to disappointing economic data. Nearly all sectors of the S&P 500 were in the green except for the