Fixed typo in comment.
Fixed typos and whitespace issues.
Fixed whitespace issue.
Removed superfluous check.