PhotoManager: Finish new state machined class.

The next and prev methods are done (for now...).