Clear local storage when encoding fails.
Automatically make document golden.
Don't store question in local storage.