Moved threads' event managers to tree.