utility: add uuidgen function.
uses libuuid to generate uuids
ui_newt: default to 1st device if no match is found