If you don't depend on frames, I think that you can safefly change _dynarch_top=top.window to _dynarch_top=window to eliminate the errors.
If you don't depend on frames, I think that you can safefly change top=top. window to _dynarch_top=window to eliminate the errors.
_dynarch_