Graph: block UI while computing betweenness centrality
for graphs with more than 10 nodes.