save 'raw' data (bkg-subtracted)
add legend
remove unused code