Simpler way to set collapsed selections.
Cleanup.
Writer updates cursor after operation have been applied.