This is really just a quick knockup – perhaps MathML support would be best in plugin form? I really didn’t do all that much, but I’m not familiar with the BBpress plugin system at all so I’m not sure how easy (if possible), it would be.