Ported lazily loading tree integrated with programmatic stream selection from smap3_ui repository