Better logging in ipc.send_message