Fix crash due to race condition on game unloading
Fix potential race condition when saving/loading game while quitting
Merge branch 'FrodoRetroplayer4' of github.com:romanlum/xbmc into FrodoRetroplayer4