Thursday’s trading session started on a downbeat, and major indexes fluctuated between negative and flat for most of the day.