Fixed a lot of errors.

Chat w/ and w/o hitgroups has been tested and is working with CS:S.

Standards updates.