Upgraded diagexamine to write vtk density file if possible.