made some changes, using a new bbcode library that I will be extending.