Switch off swap files and autosave.
Explicitly add ghc-mod dependencies.