Data recording and clearing

Analog inputs A0-A5 are now saved in a CSV file while in the recording
state, which can be toggled on and off.  There is also a "clear"
function to clear the output file.