First draft of a tab viewer