Waveshaper, Dynamics processor: some code improvements