Various cleanup.
Fixed text flowing into new lines if newline characters are in printed text, and added "cls" command.