Refactoring: class PlotWindow has own files