Fixed Exit button and Port Prompt button

Fixed Exit button and Port Prompt Button. Added a chatLog response if
mate's host is unreachable.