bin/launch: handle apps with multiple windows better
emacs/init.el: misc fixes and hoogle