Prepare for GUIfying the sensor code.