I cannot find any information about the window size used in the fft. An fft is simply not performed on one sample chosen by the cursor. Also I think the window size should be selectable by the user or the fft should be performed on the nearest possible window (power of two) contained in the current selection.