adds reset on return from autosample if TG has been set.  removes tg set tests.  tg now a read only parameter.
fix for TG being read only from the bep bleeding over to here.
Merge remote-tracking branch 'upstream/master'