add a samples_written field to the progress callback
7 files changed