* recursive config loading converted to breadth-first algorithm.