fix issue where event_del is called before event_set. bad bad thing to do. pointed out by Mark Kidwell <MKidwell@looksmart.net> svn:r128