Reworked version of sandglass-frontend, which relies on indexedDB & Promises.