Tab styling programming improvements