Big cleanup of idb.js -- added ability to automatically create object stores
Tweak
Cleaned up logging