bugfixes and enhencements in crutilsd/config.c