change main window back as tool window for being hidden from alt+tab