Made tFreqBands and cpidFreq a little nicer.
Added BYOFP (bring your own file pointers) to plotFan.