Pictures now have thumbnails displayed correctly.

Also fixed a small bug with the EditionContext after taking a picture.