Jacek Caban : mshtml: Moved remove_target_tasks to detach_inner_window.