rem: ptr = view->handlerList;  while (ptr!=NULL) { nptr = ptr->nextHandler;
add: WM_ITERATE_BAG(view->eventHandlers, ptr, iter) {
context: W_CleanUpEvents(WMView *view){    W_EventHandler *ptr, *nptr;        ptr = view->handlerList;            while (ptr!=NULL) {	nptr = ptr->nextHandler;	wfree(ptr);	ptr = nptr;    }}