Adds proper greenlet handling to replay stuff
Merge pull request #1813 from lukecampbell/ret

CIDEVSTC-277 - Adds proper greenlet handling to replay stuff