add waitcursor for datafile open
refactor code for raw processed spectra trace support