Implement TurkServer.treatment on server, other fixes