Have HostPool delete Hosts when they are removed.
Fix memory leak in TMap.
Use TMxpElement as a value class to avoid memory leaks.