get legend from Lk legend, rather than from a[1] in masterList
average all selected records with interval=10000 into sstmp
compute self.frac and self.fracrms inside make
abort make if chfreq item is empty, indicating all data flagged
some additional debug statements, now commented out