Fixed merged prg dependency check. Fixed debug output in verbose mode.