Code generation support for thawing saved frames.  Also fixes block scope error on default arguments.