Currently only WM_NAME will be taken into account while identifying a window.
A unique match is not guarantied and falling back to the first match out of the whole set is likely to be wrong.
I'd like to expand the search by at least WM_CLASS for additional filtering.