gui: simplify ChatWidgetMessageHandler

Signed-off-by: Rafał Malinowski <rafal.przemyslaw.malinowski@gmail.com>
single_window: make it work with latest changes

Signed-off-by: Rafał Malinowski <rafal.przemyslaw.malinowski@gmail.com>