tlog improvements and bug fixes