monitorPackets.
Make queries a little more robust.
Merge branch 'master' of https://github.com/frenetic-lang/frenetic