added additional information to tree: avrg of first 50 wf points, avrg of last 50 wf points, total avrg for each channel, some minor changes, + added option to set the delay_data via an input