Worked over the code for memory and functionality.

Put all static strings in Flash memory, and conditionally compiled
out the Serial print lines. I removed the extensions from the
sensors and recalibrated the threshold for edge detection.