     With assistance and code from Greg Alekel and Payton Byrd
 */
 
+//#define DEBUG
+
 // Defining HAYES enables Hayes commands and disables the 1) and 2) menu options for telnet and incoming connections.
 // This is required to ensure the compiled code is <= 30,720 bytes 
-#define HAYES
+//#define HAYES
 //#define ENABLE_C64_DCD
 #include <MicroView.h>
 #include <elapsedMillis.h>

    pinMode (C64_RxD, INPUT);
    digitalWrite (C64_RxD, HIGH);

    Display("Baud\ndetection");

    long detectedBaudRate = detRate(C64_RxD);  // Function finds a standard baudrate of either
    // 1200,2400,4800,9600,14400,19200,28800,38400,57600,115200

    else if (strcmp(Modem_CommandBuffer, ("AT&F")) == 0)
    {
        Modem_LoadDefaults();
        Modem_PrintOK();
    }
    else if (strcmp(Modem_CommandBuffer, ("ATA")) == 0)
