got rid of String.substr()
Rewritten parsing of bbcode elements, fixed #10 and hopefully introduced no bugs
update changelog