787 follow-up

 * Added custom profile pics
 * Checking profile urls when retrieving messages
 * Added jsdoc