When run from command line, the window starts behind all other windows. raise_() will bring the window to the front.