Bugfix: Added new option to link tree leaves and tracks by different fields than id. Ids get messed when different trees are loaded