some cleanup
Moving ctree meta logic to hindemith