Moved handle_call for gist deletion up to fix problem with deleting gists.
Made some code revisions.