clear newcommand string and command editor after DoIt