Private chat improvement

(Commiting changes to work on another machine)
-Improvements to the private chat section of the program.
-There is still som issues related to this