Minor corrections to fix log output to be more nearly identical to original.