Add FFT implementation.
Hook up FFT.
Add resolution switching and multisampling.
Fix excessive buffering with audio when there is no video.