fixed progress bar and added optimisations for large cytoscape graphs