Perform savestate actions more intelligently.