Saves data before playing fireworks, so we don't lose data just because frills mess up.
Ensures iteration looping before and after trial run.
Saves data after every thresholding task, and every run of the choice trials.