some small changes
[Feature] Calculate the size for message boxes.
[Feature] message copy function.