Added functionality to get multiple chats working, and queuing up tasks for the threads to handle. Also started working on the logoff and buddy logoff features.