Printing message correctly. Thread for worker