[major] Ensure proper HTML mode for iframes.
[major] Override and create a working console in the env.