Fixed access violation in PSTH & minor visualization bugs.

Also added xml save support for HPF DAC in RHD editor.