Connect button reflects connection state better
Caught and handled exceptions in a better way
Improved button disabling
Removed non-used import java.util.Scanner