Tabify and remove trailing spaces