Added progress display option to sample_db().