Add iframe detection. Closes issue #5