add setting to disable redraws while executing macros