Improving comparing of AgentInfo instances

* Allows the use of AgentInfo in Sets.
* Potential bug fix.
Cleaning a bit of old web code