Added receiving, sending, displaying, and logging of chat messages

It doesn't actually send the messages yet as toxSingleton.friendsList.getById(key) is broken and returning null every time. As soon as that is fixed it should all work.