       // Ambiguous. Close when light says to open, but clock says to close. Prevents door staying open if light sensor is faulty.
       ( LightCurrent > LightThreshUp && LightCurrent > LightThreshDown && totalseconds(Now) < ClockThreshUp.totalseconds() && totalseconds(Now) < ClockThreshDown.totalseconds() )
     )
-  ) {
-
+  )
+  { // We should close
     LightThreshTicks++;
     updateLCD();
     if ( LightThreshTicks > LIGHT_THRESH_TICKS_TO_CHANGE ) {

  Serial.print(Now.second(), DEC);
  Serial.print(']');

  Serial.print(" LightThreshUp=");
  Serial.print(LightThreshUp);
  Serial.print(" LightThreshDown=");
  Serial.print(LightThreshDown);
  Serial.print(" LightCurrent=");
  Serial.print(LightCurrent);

  Serial.print(" ClockThreshUp=");
  Serial.print(ClockThreshUp.hours(), DEC);
  Serial.print(':');
  Serial.print(ClockThreshUp.minutes(), DEC);
  Serial.print(':');
  Serial.print(ClockThreshUp.seconds(), DEC);
  Serial.print(" (");
  Serial.print(ClockThreshUp.totalseconds(), DEC);
  Serial.print(")");
  Serial.print(" ClockThreshDown=");
  Serial.print(ClockThreshDown.hours(), DEC);
  Serial.print(':');
  Serial.print(ClockThreshDown.minutes(), DEC);
  Serial.print(':');
  Serial.print(ClockThreshDown.seconds(), DEC);
  Serial.print(" (");
  Serial.print(ClockThreshDown.totalseconds(), DEC);
  Serial.print(")");

  Serial.print(" totalseconds(Now)=");
  Serial.print(totalseconds(Now), DEC);

  Serial.print(" CurrentMode=");
  Serial.print(prettyMode());

  Serial.print(" DoorPosition=");
  Serial.print(prettyDoorPosition());
  Serial.print(" DoorDirection=");
  Serial.print(prettyDoorDirection());

  Serial.print(" MotorEnabled=");
  Serial.print(MotorEnabled);
  
  Serial.println();
}
#endif

  // Check to see if the RTC is keeping time.  If it is, load the time from your computer.
  if (! RTC.isrunning()) {
    // This will reflect the time that your sketch was compiled
    DateTime defaultDatetime = DateTime(__DATE__, __TIME__);
    RTC.adjust(defaultDatetime);
    // Print warning
    Serial.println("RTC is NOT running!");
  }
  #if FORCE_SET_RTC
  RTC.adjust(DateTime(__DATE__, __TIME__));
  #endif
  updateTime();
  Lcd.setCursor(0, 1);
  Lcd.print(Now.hour());
  Lcd.print(':');
  Lcd.print(Now.minute());
  Lcd.print(':');
  Lcd.print(Now.second());

  // Read clock settings from EEPROM
  byte clockHourThreshUp = EEPROM.read(CLOCK_HOUR_THRESH_UP_ADDRESS);
