Bug fix for state_save().
The analysis frame was not properly referenced.
Authored by: bugman 2010-01-29
Parent: [r10570]
Child: [r10572]