wrap Libertree.Chat in immediate function

mostly indentation changes.
make private: updateNumUnseen(ForPartner)
enforce strict mode