Stocks came back from losses, closing mostly higher with the S&P 500 ending at another record high. Oracle shares fell in after-hours trading on Thursday- after the company missed earnings forecasts.