123595: Don't print newline as first character in line.
i123765 reset buffered DropTarget when undocking
123729: Factored out the creation of directory names the depend on build languages.