Fixed program entry page, better error handling for database update routine. The error handling makes climaduino-controller more robust when a Climaduino is rebooted or reprogrammed.