Fix lag when changing chat
Created by: LNJ2
This also does some clean up and restructuring of the deployment of the
chatPartner property to the ClientThread (MessageHandler) and MessageModel.
Before, a thread-safe function of the ClientThread was used, so the mutex of it blocked the GUI, when the client thread was busy in this moment.