License year update for client code
Streamlined some code
Casts for inspection warnings
Client speedup: compute actual thread name only once

When logging from a non-main thread for the first time, prepare the thread name string then store it in the thread dictionary for further reuse.
Tweaks for stdout/stderr logging

Renamed option to kLoggerOption_CaptureSystemConsole. Made it a default option. Updated code style & indents. Ensure there is no conflict with kLofferOption_LogToConsole (avoid logging recursion)