Migrate EClassTreeBuilder from glib threads to wxWidgets.