contrib/meshwizard: Fix setting of values which contain spaces & cleanups