Tweaking to make the output text work better in actionscript htmlText windows.