detect whether browser supports blob storage in indexedDb, improve error handling + output
don't make functions in a loop