cleanup / refactor of base expansion functionality / viewability in core and visualizer.