Somewhat more elaborate detection of focused window
Merge branch 'master' of github.com:untoldwind/alfred2-layout