Restyle main window, and configuration window