Fix paragraph handling.
Clean up text spacing rule.
Add bold, underline, italic.
Only log error.