ModelVisualizer cleanup and improved default value handling.