reworked fft code
cleaned up test
switched to argparse
added save image, key events