Post-Beta rewrite. About to implement indexedDB for saving file metadata