Tree + Data Grouping scan fully working with all GUI components, however
some results not making sense; still need to debug with real data.
Also fixed some minor cosmetic-type things.