changed semantics/API of tree control