Clean-up of code; Zoom/integration switch works for spectrum zoom window.
Coordinate recalculation tweak
Integration mode implemented for spectrum zoom window