wrigty12, this is an amazing script, thanks so much!
I just wanted to report one thing -- it's not really a bug, but you still might be able to "fix" it?
Your script works with the usual <icon=iconName> codes, but they appear 9px too low down:
(In my example, the word "Action" in the icon should be perfectly lined up with the rest of the text.)
Also -- despite (literally) hours of Googling, I can't figure out how the colour codes work in your script. How on earth 0999367C relates to that shade of red is beyond me.

Can you point me in the right direction, please?
Thanks again for the script, it's going to be so useful for my project!