Fix line numbering, make a bad token in config only give a warning.