Add an option to control whether the first data source added to Viewer automatically sets the clock.

Also improve the logic so that changes to the clock afterward, indicated by the DataSource changedEvent, update the clock as well.  Fixes #1134.