introduce gywindow_find_free_id