Vastly improved the code for finding a config file when none is specified. Among other things, the previous code did not actually generate legal filepaths.