Separate plotWindow and mainWindow