more verbose logging in running scriptblocks, some fixes in the TMX unit tests