BugFix #6

Fixed some problems from master merge, and fixed a problem with new
ProcessChat.