Stop using global variables to track things in wtperf.