Minor touchups to the threadsafe mdict class;