Refactored member names in diskWriteThreadPoll and Thread, and moved atomic counters to th Thread pool.