Fixes for notebook autosave