Separate tuner IF filter frequency from preferred tuner IF.
Set the tuner IF filter to the actual IF used after tuning, for the case where the tuner could not tune close to the preferred IF.
Set spectrum inversion in the RTL2832 based on tuner LO vs. target frequency
Refuse to try to tune the R820T PLL below 27.7MHz which is where the PLL appears to get unstable.