More info for log messages

Added file name, line number, thread id (NOT platform independent), and current time to log messages.  
couldn't find a platform independent way of getting the thread if.