I had a similar issue, but no DMagic mod. Thanks to the Alt+F2 Log i found that the ramdisk i run KSP from was simply full and it could not quicksave or switch to the space center or recover a vessel. When i removed a few bytes KSP started to work normal again. I noticed the same behavior before when the KSP folder was suddenly write protected (after a crash?).