Clear out config file.
Fix a few bugs with pair text updating.