fix #773 - X must be repeatable
fix #768 - don't add macro if state needs to group commands
Merge pull request #777 from guillermooo/fix-773-repeat-big-x

fix #773 - X must be repeatable
Merge pull request #776 from my-personal-forks/fix-768-macros

fix #768 - don't add macro if state needs to group commands