Add dependencies on usb drivers.
Export getState from driver to frontends.
Improved logging facilities; minor fixes.
More logging improvements and changes to ipc command construction.