factored out simple thread mgmt
broke frame construction out of the fft module (incomplete)