application windows opening and focusing