meshwizard: remove local variable definitions outside functions