tidied up some minor stuff whilst browsing:

* minimise try block scope
* missing null checks in constructors
* pass exceptions to loggers in catch blocks
* redundant usings
* verbose exception variable names in catch blocks
* whitespace

I'm not too bothered whether this PR is accepted or not, some of the changes are down to personal preference. Just take it or leave it :wink:.