add_contacts fixed for ioschat, hal_window not called from im_client for osxfgui