Freqanalyzer: Turning generator off after use (at app unload).