add optional progressbar to double deletions

uses the IProgress package