More info for log messages

Added file name, line number, thread id (NOT platform independent), and current time to log messages.  
Interesting that the compiler doesn't complain about the last return.