sorted out retvals for hidra_interface.c
parsed config.c to do much more articulate logging