Improve string.repeat and header handling and add title command to
console(3) to prefix a message with the header character.