Aww the good ol' magic "1" error. I had a fix to this long ago but let's see if it is still effective.
In ubb_library.pl
Find:
Replace the last line in that sub with:
This was MasterMind's fault in the UBB Code Buttons which I had experienced before...and it was ugly...
------------------