preparation to reduce the size of sql_report
added a bunch of reference on in_progress to keep track of the changes without having to pull again the value out of the hashtable for the next use in the main Hashtbl.iter