Main window modification