Highlight maximum in spectrum window
Use complex.abs() not complex.getReal() after FFT
Take average when computing global weights

Reduces some of the low-frequency bias