Updates to fix functionality of 1d spectrum extraction and display.
Changed the trim keyword to region; made better sense to extract a spectrum around a region, than to trim the beginning/end of spectrum.