Load codemirror from local computer, autosave tweaks when changing the focus og the tab