Better spacing for text output

There were no spaces after the full stops and the code was inconsistently adding spaces after text strings.