Moved the command line parsing and base config file parsing into GConfigFile, allowing the main.cc files to be cleaned up significantly.