rework tab additions

fix for #295