Fixed a few bugs when loading configuration files (and saving) and performing the first few stes of the data reduction.