Only exec datasource action on doubleclick
Fix some bugs with subtrees