Make sure editor is set before trying to get code.
Merge pull request #9 from rgbkrk/verifyeditor

Make sure editor is set before trying to get code.
Add comments.
Merge pull request #10 from rgbkrk/verifyeditor

Add more comments
Prepare 1.1.7 release