Implements basic tab styling.
Minor code cleanup.