introduced saving of local selected leaves in tree panel
changed trait aggregator to comput the aggregated set of each tree separately