Before fixin appendChild code for documents without body
Implemented Feature: Switch between windows. Switch between frames!