Fix bug in datasetview, warning cleanup - Spectrum Perspective