! more spacing, capitalization, remove some stray concats, functions out of for's,
else if to elseif

Signed-off-by: Spuds <spuds@spudsdesign.com>