Remove implicit style inheritance (and more)

Improve error reporting. Add support for background colors and font styles.