general cleanup work.
fixed noise related bug
fixed bug impacting decoding -p p- symbol sequence.