Improvements to finding best frametype
This PR introduces a few improvements in code used to find the best-matched frametype for a given channel.
Further optimisations might include finding multiple channels in one go...
This PR introduces a few improvements in code used to find the best-matched frametype for a given channel.
Further optimisations might include finding multiple channels in one go...