Added support for up to 5 modifier arguments per modifierid
-A few updates which fix some code issues and extend functionality (changes detailed in Discussion thread Post 2).