Roger: worked on the text wrapping functionality