Initializing window improvements