Minor stuff

Deleted whitespace and empty lines, made a for variable local, added
and removed a semicolon.