update to "frontmost" status detection for iTerm's new AS terminology