Added isset() checks on the logger global everywhere
Fixed:  strScrub didn't check the null or empty string case at the start.