Fix multi-line message bug

Messages can be multi-line. Use TextProperty instead of StringProperty.