More logging for state.json hanging intermittent bug
Show settings in settings panel
Persist settings on change