Fix mode initialization, persp-save-to-file. Set major-mode for buffers when loading from file.