Diff viewer

Added a close view button which sends you to the editor view.
Text was awkwardly changing from Unified Diff to Patch after the first click. Fixed this issue.