I'm not sure if you integrated this from my code, but if you want multiple extra damage you can entered it as a comma delineated list. For example, "2d6,2d6" then on 2nd line you can put "bane,vicious" and it will show up in tool tip as separate rolls.
Another thing I did was allow variables in the attack mod. For example, my monk uses WIS instead of STR on attack so I put "1+WisB-StrB" for his attack mods. But I think that's something I did after posting my Attack formatting update.
Yeah I took your foundation and expanded, enhanced, and corrected but 90% of what is there is what you did. And HEY LOOK THERE, the comma delimited list works
The original attack supported variables in the attack bonus field (and damage). But now my new frame supports directly specifying variant stats for attack and damage making it more intuitive.