To open an instant messaging window with a user, click his nickname. In the menu shown, select "contact", then "instant messaging".
Instructions on how to use the chat panel are here.
You can block incoming private messages if you don't want to receive them. To do that, use the options in the menu.