EventQ with POP/TOP/SIZE as coded by Jack