code cleanup + move fix EVisScaleType to an extension point attribute