Updates to bounding and slight improvements to error logging.