Stocks extend gains Thursday morning after a strong showing on Wednesday.