TAB export to HTML/RTF

Add improved support for exporting tab positions to HTML & RTF.