Changes to the gallery viewer and image viewer. WIP.