Add screen width and height calculation.
Break lines at word boundaries.