Avoid a possible divide through zero.
VST Wrapper: Fixed parameter handling + added lgging function.