Preferences saving and loading added. Right now, it loads on startup and
updates after each run.
Preferences for most of the analysis tab can now be loaded from the text
file