updates to savestates, thanks 3xcl4m4t10n