Disconnect detection and Freq/Time domain button

Disconnect detection timer was modified to update when UserFrequency is
changed.  The Viewer now throws a "connection lost" message after more
than 2 samples go missing.

Improved switching between frequency and time domain in the plotting
tab.  Now both are considered plotting, and only the "switch to" button
should change.