Long line, whitespace cleanup
Whitespace/long line cleanup. Use log() function instead of std::cout.