Chat pictures
Handling client messages and markdown refactored