updated psi-new-history patch. Fixed bug displaying of avatars in a popup window