I see the problem, but the version you posted was the broken one. What's needed is to change the line {'destroy this thread' destroyThread}. to read: {'destroy this thread' translated. #destroyThread}. but I have an ENH for this that I'm going to post soon.