Convert to messages array for better spacing

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