updated logging, check for parallel, and other improvements