V2.0 bug fixes

- Fixes an issue where setting the width of the iframe on rotation causes Safari on iOS to crash.
- Forces the loading bar to remain until the CSS completes downloading. This is done by loading the CSS in the main document, because resources loaded through document.write do not initiate the loading bar.