Do not open empty tab when restoring empty session and TabBar/LastTabClosingAction is set to doNothing, fixes #486