Better align the message context in message dialog

Keeping no change to line wrapping function but display all texts as tidy as possible in message dialog.

![1](https://f.cloud.github.com/assets/3000282/657725/f9245a0e-d579-11e2-8224-fbe809453457.jpg)

![2](https://f.cloud.github.com/assets/3000282/657726/0d56cbd8-d57a-11e2-86fb-72ae85db433d.jpg)

 Issue #2262