Introduces a central GameState class to manage the client's lifecycle, network connection and UI components. The Terminal has been demoted to a pure UI widget and main has been simplified to a basic entrypoint as they should be!