fixed pattern and input delete crashing app, added "/blink1/logging" option to turn on/off logging