updateVars updates the Vars window showing all variables and their values. This is good for debugging.