Fix expandAfter(), add workaround for first lines

Previously the method was missing the "replacedWith" workaround for
first lines.

Added a LoadHandler to make the table cell containing the avatar
visible only when the avatar is loaded.

Change-Id: Ie0c69e1e70f3e1c5f0b4347e003ba68263140a0a
2 files changed