The stock market recovered from an afternoon stumble and ended with modest gains Thursday, enough to mark more record highs for the S&P 500 and the Nasdaq. The S&P 500 added 0.3% while the Nasdaq managed a gain of 0.1%. Small-company stocks far outpaced…







