improved plotpanel included in main window