Fixed bug in GUI

GUI was writing file output when it should not have - added conditional
statements to make it not do so.

Also including the .fig file which I had forgotten before.