Added background to TPeaks
made TPeak smarted if range is bad