added saved result enumeration, delete result rpc, fixed cursor leak