update pgl combination code
add some error tracking
add code edits to combine all iteration data.