use a mutex to avoid mixing thread outputs
removed extra progress message