* Fixed message input focus loss
* Addressed potential crashes caused by NullPointerException