Fixed error in error handling code and added the option to select gists directly from the summary view.