Updated GUI to understand configuration file. (was supposed to be committed last time, but wasn't)