Added functions to pretty-print Tab labels