Add heartbeat and connection retry.
Add a retry when server isn't available, both on startup and if the server dies mid-session. Stop sending avatar messages if no messages are received.
Timing and printouts need adjusting.
Add a retry when server isn't available, both on startup and if the server dies mid-session. Stop sending avatar messages if no messages are received.
Timing and printouts need adjusting.