   Serial.begin(9600);
   tft.initR(INITR_BLACKTAB);
 
-  // Print program name nad version
+  // Print program name and version
   Serial.println("Picture Viewer");
   Serial.print("Version ");
   Serial.println(VERSION);

  tft.setTextSize(1);
  if (!digitalRead(TEST_PIN)) {
    if (digitalRead(MODE_PIN)) { // Not test mode
      tft.setCursor(40, 0);
      tft.println("Random");
    }
    else {

int numberOfFiles = 0;
int pastMode = HIGH;
int pastTest = HIGH;
bool SD_OK = false;

// The setup (runs once at start up)
void setup(void) {
