Remove tabs from deckedTabs when they are closed.

Also add gap between buttons and messages in popup.