Fix code analysis errors
Make everything FxCop clean (within reason) so we can more easily resolve FxCop issues.