Bugfixes

Name and chat bugfixes which could contain ASCII characters, newlines, carriage returns and more.