Use NSNotFound not -1 in UI (osx)
Cancel client selection when workspace selected in TE edit (osx)