Fix variable redeclaration
Add basic median filter (very slow)
Switch to Float32 arrays
Add batch detection, to avoid redrawing when paused
Trigger redraws when config is changed during pausing
Remove smoothing - too slow, and not very useful