Check if frame is a dead object before accessing it's attributes.
Merge pull request #840 from whirm/fix_remotesearch_test

Check if frame is a dead object before accessing it's attributes.