Added some additional justification logic so that centred text is only centred  if there is enough space, only wrapping a line if there is enough space to print the next line (especially as clipping doesn't seem to work) and changed qString.operator[n]