Visibility performance + detachment was broken + iframe fixes.