I think the big problem is indexeddb (used currently) takes forever once it gets too large. I am going to switch to using session storage instead which is way faster, but not persistent.
will leave using indexeddb as an option incase anyone wants persistence.