Fixed setname and deleting hosts when they disconnect.