As buggy as MSI CPS and firmware can be at times, I've never had APX CPS just crash and burn in all the years and releases I've used. You're going to need to be more specific, what version of CPS are you using, what operating system, what are you doing when it crashes (i.e. are you able to recreate it), etc.
And no, there is no way to recover changes that were in-progress if you didn't save the codeplug. Best practice going forward is to hit the save button every once in a while to lock in changes in case something like this happens. In fact that's good practice when editing anything on a computer, save often, make backups, etc.