Cleanup logging caps
Add support for Edit on Bitbucket.
Go crazy with logging since I know how it works now.