Implement new gallery cursors.

[Resolves #119]