Adding thread name to messages printed in log files.
Changed some messages to debug level.