* use Com_sprintf and reduced indirect casts
* reduced scope and cyclic complexity
* reduced scope
* reduced scope
* removed unneeded return statements