[Popishu] Moved tab creation from Core.
[Popishu] Support recoverable tabs, closes #1478.