redirects for chapters
updates to compare-images.pl

Squashed commit of the following:

commit 614c3d5a47241d773e3b8c2e61ff61727917ece7
commit 55ddb9384ef98d17de20d21fe61554640d579260
commit 5fd9070a3e33a6332d760b6f3c1dcc05f9da9e8f
commit 797645a666b4b01b4219e54326d6ebba3669985c
commit 32d17ec170c74e573641ac2ee62b26db989c6d39
commit b60f961560089cf14c1f65990e2c17d7f643af25
commit e5fbb68fb840c1fa91de14e16a027fb501eb95cf
commit f45d874d9a6c7fdaf7fe981ab771e497662499d6
commit 3e991839231f5a46bb7c92569e98da3497bac5d8
commit a11401d5167ccb48ac5fef13759578886937df72