Add momentary switch state to plottable fields.

Also change filename extension from *.dat to *.txt