Added saving and loading capablities to the GUI

Right now a loading frame pops up when the photom script is running and
it doesn't go away until after you close the matplotlib. This will be
fixed.