Fixed comment bug.
Trim excess whitespace from log messages. Minor change to log output.