Fix PrivateMessage var name
Print stack trace on uncaught exception
Merge pull request #240 from cwc/fixes

Fix crash on receiving PM