[enh][interpreter][gui] implement better methode to mark changed variables