fixed state saving bug, added victory/defeat dialog delays
new version