new messages
add focus listener to Text widgets
Reorder steps in main function so that websocket client can be launched