Better sqlite pooling + formatter changes

Fixed NPEs occuring when the pool has reclaimed the connection
Fixed some other things
Changed formatting of statistics display

Added a Wand class. Needs implementing