TOOLS-525: prevent data race
TOOLS-525: numProcessed -> index
TOOLS-258: tools should verify host argument's replica set name
TOOLS-258: fix stat_header.js
TOOLS-258: fix slave_ok.js