Null Reference Exception checking, minor changes

Hyper-paranoid Null Reference Exception checking, minor optimizations, redundancy removal and cleanup.

Looks like I might have messed up and GitHub is pulling in changes to the GHClient.csproj, so you can ignore those changes...they will result in References not being found where they should