fix segfault when the config file only contains comments, and make 'data/config.txt' the default config file name