using main window for weave ready