 
     if (nextionOtaResponse())
     {
-      debugPrintln(F("LCD OTA: LCD upload command accepted."));
+      debugPrintln(F("LCD OTA: LCD upload command accepted"));
     }
     else
     {

      }
    }
  }
  else if (upload.status == UPLOAD_FILE_END)
  {
    if (lcdOtaTransferred >= tftFileSize)
    {
      if (nextionOtaResponse())
      {
        debugPrintln(String(F("LCD OTA: Success, wrote ")) + String(lcdOtaTransferred) + " of " + String(tftFileSize) + " bytes.");
        // delay(5000); // extra delay while the LCD does its thing
        espReset();
      }
      else
      {
        debugPrintln(F("LCD OTA: Failure"));
        // delay(5000); // delay for user to read output
        espReset();
      }
    }
  }
  else if (upload.status == UPLOAD_FILE_ABORTED)
  {
    debugPrintln(F("LCD OTA: ERROR: upload.status returned: UPLOAD_FILE_ABORTED"));
    // delay(5000); // delay for user to read output
    espReset();
  }
  else
  {
    debugPrintln(String(F("LCD OTA: upload.status returned: ")) + String(upload.status));
    // delay(5000); // delay for user to read output
    espReset();
  }
}

////////////////////////////////////////////////////////////////////////////////////////////////////

void debugPrintln(String debugText)
{ // Debug output line of text to our debug targets
  String debugTimeText = "[+" + String(float(millis()) / 1000, 3) + "s] " + debugText;
  Serial.println(debugTimeText);
  if (debugSerialEnabled)
  {
    SoftwareSerial debugSerial = SoftwareSerial(17, 1); // 17==nc for RX, 1==TX pin
    debugSerial.begin(115200);
    debugSerial.println(debugTimeText);
    debugSerial.flush();
  }
  if (debugTelnetEnabled)
  {
