Minor cleanup and mksession upgrades

Well it grew a little so now it also has cursor position restore, quitting Vim on focused buffer close and temp file usage for session storage.