Main window appears in the center of the screen