Set a timeout on the Socket.
Otherwise, if the IP or port are wrong the app will freeze indefinitely.
Also cleaned up some ScanActivity stuff.
Took away the Scan button since Zach made it work in the same window.