Now the device windows close properly when an input device is removed.
Currently shows only the axes (along with dev "path" and name), but it has done a good job of pushing dev of other bits of code :)