added menu option to plot raw traces

+ some code streamlining