Added debug logging in two of the help print functions.