Fixes for metrics graphing: handle local and distributed log files, correctly label processing regions. Close plots to prevent overwriting in memory graphs