add simple windows filtering to hook; fix list_remove function