Fixed bug where text wrap mode was not being stored. Now it is.