Visualization is initialized with analyses being collapsed. Minor code cleanup.