Refactor the Gallery page.

* Remove broken links.
* Refactor the gallery page into a Cactus plugin to ease future updates.
* Rebuild the gallery page.