Big update: wrote load functions for saved templates.

I have successfully recovered sessions using these.