small overhaul

Major improvements are:
Added support for various TX and RX speeds
Added fix for 1Mhz TX
Code clean up
Small changes in existing code are required, firmware on all devices needs to be updated.