Treeview stuff

Can you have a look at ba80448 specifically and tell me if it's ok ?