Add a findTurtle method on the debug object in the iframe and on the ide object in the main window.