 Bounce bouncer = Bounce(buttonPin, 5); // 5 millisecond debounce
 
 void loop() {
-  if (systemOK) {
-    if (downloadWaiting) {
-      bouncer.update();
-      if (bouncer.read() == HIGH) {
-        printFromDownload();
-      }
-    } else {
-      checkForDownload();
-      if (!downloadWaiting) {
-        delay(pollingDelay);
-      }
-    }
-  }
-}
+  if (downloadWaiting) {
+    bouncer.update();
+    if (bouncer.read() == HIGH) {
+      printFromDownload();
+    }
+  } else {
+    checkForDownload();
+    if (!downloadWaiting) {
+      delay(pollingDelay);
+    }
+  }
+}

  initNetwork();
  initPrinter();
}

// -- Flag to indicate whether we've encountered an irrecoverable error

boolean systemOK = true;

// -- Check for new data and download if found



inline void terminalError(unsigned int times) {
  flashErrorLEDs(times, 500);
  digitalWrite(errorLED, HIGH);
  while(true);
}

// -- Print send any data from the cache to the printer
