Cleaned up ScanModelAdaptor
Updated how the program view is populated

The program view is updated only when it becomes visible.  It is also
cleared if no tag is currently selected, or if an invalid or empty tag
is selected.