Add logs to show connection problems.
Update request timeouts
Use a grid layout for the gui.
Add heartbeat to detect when the backend goes down.