unknown:
	- Fix possible error in AddMessage, sometimes msg may be nil.
