check that the config file is well-formed

we don't check *that* hard - we just make sure that there are
* values in there are two space-separated values on each line, AND
* no third value on any line

also added some extra comments