Better window autocompletion