Threaded cursor implemented.