Changed behaviour of unexpected disconnects and added a reconnect button. Also enabled use of enter key from username/password fields to login.