bug 1013987, make tree-app relationship straightforward, r=peterbe