fixed #49 - driver mapping

and fixed debug mode

Signed-off-by: Paul Marrington <paul@marrington.net>