Fixed the thresholds.bin not saving, and saved the file with 10k
runs.