added thermostat stuff, wdt