Made it so that assigned windows get focus when opened.