Move retrieval of CNodeStateStats into PeerTableModel.