Add flow information to the tooltip.

Adds a utility function to get flow events that belong to a given scope,
uses it to show flows in tooltips.


Hopefully more flow stuff to come, this is just a starter...