cached avatars: in work
tests for thread-header-parser & fixes in it
logging for debug