no output on stdout; mem_tlogcollection improvement

the  change that fixes the tests is mem_tlogcollection get_tlog_from_i.
the rest is just a long overdue clean up action