Fixed tree structure updating incorrectly. Added timestamps to chat history.
Added check on server name in logindialog making user unable to enter whitespaces