Resume and refactoring.

Added support for a “resume” tab.