Enforce a maximum cache size.
Single photo mode tidy up.
Change focus to the OpenGL view when it is clicked so that arrow keys work.
Load the previous and next photos in single photo mode to speed up the common use case.