Check if i_load_{file,dir} was submitted before appending process stops.  Do not 'local'ize d_pgrp checks in a loop.