Finished the resume feature

Issue #24.