GUI: set the location of the main window in the center of the screen.