strx: FFT work

Implemented FFT processing.
Use plain int whenever possible.