make expanding tree easier
guard contents
sort waveform tracing
add option of trace depth