Fixes for the method saveframe. This should now work correctly.
Authored by: bugman 2009-10-29
Parent: [r9845]
Child: [r9847]