Fix tab size.
Now the tab size is correctly updated from settigns. Also the soft tab has the correct length.