Systematically eliminated common pairs loops

Replaced with a map structure which is far more JIT friendly to iterate
while still being as fast to add to, change values and check for
existence.
Fix the bans plugin not generating network data

when loading locally.
Add click sound to list headers