Add a /only refinement to wait

Such that it only checks events from the ports passed in as the
argument. This could be used to ease sychroneous communication and used
for implementing a pause when the port list is empty (in case of no GUI events).