Updated connection and username GUIs to kill client side program if they are closed.