Streamlined udplib and enhanced testevent

Udplib suffered from massive greenlet cycle inefficiencies that were
resolved by sleeping after a no-item poll return. TestEvent was brought
up to modern compysition standards