better username detection in pm channels + bugfixes