Fixing some of the issues with mrAnat as well as with the session migration.

This should both clear up the changes that Bob made in #40 as well as a new bug that was found with the session migration code.