Removed all code to close graphs (including commented out)