Add thread-safety to updates of and reports on total tallies in 'ThreadedSequenceProcessor'.