added reportDB for indexeddb access; other work from earlier