button mode switching implemented

It works for the most part.  Debouncing really isn't necessary.

A larger demo file with multiple gauges was added.