Handled more problems in config file.