Making FFT work from the GUI