Simplified check in write
Merge adjacent text entries with same styling

Removed support for writing text properties in one string:
pen.text('test', 'red, bold')
now you have to write:
pen.text('test', 'red', 'bold')
This was done to improve performance.
2.0.0