on IE, cursor kept blinking after hiting enter for connection. Fixed by moving focus before connection