splitted main and chat windows