split AverageERP into Run and Gui, updated PlotPSD stage validation