Fix broken "text.clear_rx", "modem.set_carrier"
Minor code cleanup and formatting
Add "rig.set_frequency"