minor tweaks to log messages and comments