ERT-514 Export of plot to png and PDF, changed plot_window and moved trackers to plot_metric_widget. Rename of methods