Fixing an issue in setting the repo and branch, adding a cancel option
into the post editor and generally cleaning up the functionality