Minor bug fixes and added adjustable waveform  intensity display range