Chat problems resolved: send messages are printed now