Fix bug with last word in output; center text in output;