Vcs cleanup

Fixing up code format in version control.

This fixes lots of code issues, such as redundant qualifiers usage.

There are a few methods which have been made static and some StringComparison.Ordinal additions.