Changed from using window to JSoop.GLOBAL.
Fixed an error in JSoop.Base::callParent and JSoop.error.