Currently the state stats, which contains the ban score, is only being retrieved for the one peer thats selected (if one is selected).  The model is not aware of which one is selected, so refreshPeers() would have to get the CStateStats for every peer and store them as it does with the CNodeStats records, which I will happily do if that's cleaner.  The return type of PeerTableModel::getNodeStats() would need to change in that case, so that it returns both the CNodeStats and CNodeStateStats.  How would I best define a type for that?