fixed coding errors and style
added example on how to use dbi.stat
increased version number