Added waveformViewer from RingDroid
some bugs solved