Updates to fix functionality of 1d spectrum extraction and display.