Added debug to check when we are deleting stones.
Clean up context.