refresh cm on tab change. allow turning off of execution