refactor: around context/viewport readiness
feature: the iframe is now inserted in the top most document (which will allow layout testing later)