Fix #24, and add config file repairing.