- added bad state throw if missing root element from document being sent to inner frame
- added warning to compile for namespace that isn't defined yet