How to separate each chat window?

Chat window is by default in Merged view with up to 5 chats in one window. You can uncheck the Merge option from the menu in the chat window.

You can also re-arrange the tabs by grabbing one tab and dragging it to your desired position in the tab arrangement.