Static Analysis Cleanup

I went through the static analysis that Xamarin Studio provides, and did quite a bit of cleanup. You probably shouldn't merge this PR, as I am half asleep, but I'm going to submit it anyways XD

Also, I have no earthly idea how I managed to make that first commit as you O_o....