fix processed file flagging and remove most dev logging messages