 #define monitorDBG false
 #define netDBG true
 #define miscDBG false
-#define citsciDBG true
+#define citsciDBG false
+#define analogDBG true
 
 /////////////////////////////////////////////////////////////////////////////
 // temperature sensor stuff /////////////////////////////////////////////////

  f += pageFooter;
  return f;
}
void handle_serverconf() {
  dln(netDBG, "serving page at /serverconf");
  String toSend = genServerConfForm();
  webServer.send(200, "text/html", toSend);
}
void handle_svrchz() { // TODO delete?
  dln(netDBG, "serving page at /svrchz");
  String toSend = pageTop;
  toSend += ": data sharing configured";

  // add srvstatus, or roll that into wifistatus, or...?

  toSend += pageFooter;
  webServer.send(200, "text/html", toSend);
}
void handle_algchz() {
  dln(netDBG, "serving page at /algchz");
  String toSend = pageTop;
  toSend += ": analog sensor configured";
  toSend += pageTop2;

  for(uint8_t i = 0; i < webServer.args(); i++) {
    if(webServer.argName(i) == "analogsensor") {
      // TODO store the sensor type
    }

    svrAddr = webServer.arg(i);
    toSend += "<p>webServer.arg(";
    toSend += i;
    toSend += ") = ";
    toSend += webServer.arg(i);
    toSend += "<br/>argName = ";
    toSend += webServer.argName(i);
    toSend += "</p>\n";
  }

/*
  boolean cloudShare = false;
  for(uint8_t i = 0; i < webServer.args(); i++) {
    if(webServer.argName(i) == "svraddr") {
      svrAddr = webServer.arg(i);
      toSend += "<h2>Added local server config...</h2>";
      toSend += "<p>...at ";
      toSend += svrAddr;
      toSend += "</p>";
    } else if(webServer.argName(i) == "key") {
      if(webServer.arg(i) == "on")
        cloudShare = true;
    }
  }

  // persist the config
  setSvrAddr(svrAddr);
  setCloudShare(cloudShare);
*/

  toSend += pageFooter;
  dbg(analogDBG, toSend);
  webServer.send(200, "text/html", toSend);
}
void handle_actuate() {
