> Can we make the msg_id -> cell object function something in the notebook object, then? 

Yes, I agree, that would be better.  I'll do that now