minor correcture in 'draw_text()'
added some comments to text functions
added newline parsing and XML markup for bold and italic fonts