Modified SentToCTRL to work on the Pi and send to CTRL. Debug messages now use form encoding instead of json.