added support for RADIO THERMOSTAT devices, added retry capability for Google and thermostat connections, general cleanup