Fix: bug related to extracting edge weights twice. Fix: add output
directory chooser for html generating dialog.