Don't use tabs in popup windows (as Firefox itself)
Add "dontUseTabsInPopupWindows" preference
Group preferences by "type"
Don't open tabs from popup window related to current tab in tabbed window (as Firefox itself)