added message_handler= kwarg to ThreadWorker constructor