Fixed some exceptions in Learner.  Hopefully the fixes hold.