off by one error in deletion loop (and undefined references) sort listeners by pattern specificity deletions are changes (for now)