Losslessly compress res/web/img.
Whitespace cosmetics.

Remove unneeded spaces and reindent comments in some cases to improve readability.
Update Changelog.txt.
pre-commit.sh: use 2 spaces for indentation.