Fix major bug in Pulse2Event, build param UI for HilbertPSD