implemented tabs, with different stops types, some fixes