Editor: Saving state to IndexedDB. Allows bigger files.