Clean up close code and work around io.Writer's insistence on never being nil.
Build initial Deckhand object.