Added second window with plotting in gui.