Tweak WordWrap method to include trailing non-word character in word size/wrap calculations. This ensures that a string like 'harm.' is fully wrapped instead of just the trailing period being wrapped.