fix two cases where we were printing unsigned int as %d
fix whitespace in log message