Combine IM and file transfer in one script. Allow multiple parallel chat sessions and switch between them.