Throw exception instead of returning empty string from to_string() functions.
Add to_string function for ReceiverMode and OpMode enums, use them in the ostream operator<< functions.