fixed issue where auto-find of original "type" of window would find windows that were already mapped to keys which is not particularly useful.  added debug code