Improve performance of effect processing, fix autoquit bugs
Also a slight NPH tweak
Merge pull request #997 from diizy/mixer-opt2

Improve performance of effect processing, fix autoquit bugs