Sorry - out enjoying the one day of sunshine in a while
I'll give this a try.
I just gave it a quick run, but its not returning from getting device information when plugging in the Kindle. This may be my copy of the code so I'm going to remove and redownload the current source to make sure I haven't edited something while poking around.