 
 void h_handle_line () {
     hlinebuf[hlineoff] = '\0';
-    log (">", hlinebuf);
+    xlog (">", hlinebuf);
     wsend(hlinebuf);
     hlineoff = 0;
 }


void w_handle_line () {
    wlinebuf[wlineoff] = '\0';
    log("W", wlinebuf);

         if (state==0 && !strcmp (wlinebuf,"ready"))     { state_0_1 (); }
    else if (state==1 && !strcmp (wlinebuf,"OK"))        { state_1_2 (); }

void loop() 
{
    // Mirror host input to the ESP8266
    handle_host();
 
    // Collect input from the ESP8266 into lines and do things when appropriate.
    if ( Serial.available() ) {
