Don't update progress bar inside work threads.
Remove lock from PokePB(). Change resampling to single-threaded for now. Interaction with the lock seriously slows resampling.