Cleaned up warning about comparisons between signed and unsigned integers.
Remove unused variables.
Added parenthesis.
Fixed initialization.
Branding.