fix bug in table.py when specifying both column header text and color

row offset in table construction function was missed in case of specifying both text and color for column headers