Worked on state transitions, including sibling next/prev links in results.