Changed freeze function so it saves current branch info to .externals file before freezing.  Allows unfreeze to restore to that branch