Fixing cmap reading order, partially fixing #3
Fixing out of order table loading, finally fix #2