IDs for windows, ended event listening