Logging transcripts plus more bugfixes