-Changed application to display image source at the top of the window.
-Removed the extra windows to show intermediate stages when not in debug mode. 
Interestingly, this improved performance significantly.
-Modified slider listener so that it (hopefully) doesn't cause any more segfaults.
-Hid all the calibration controls away in a separate calibration window.
They are accessed by a button on the main display. 
I also added labels to each of the sliders.
-Application now takes the IP address of the atom as a command-line argument.
-Code now actually uses result sender, which I had forgot to do last time.
-I made a small modification to Brian's code which reduced the application's 
average consumption of RAM from two gigabytes to eight hundred megabytes.


git-svn-id: https://robotics.mvla.net/svn/frc971/2013/trunk/src@4151 f308d9b7-e957-4cde-b6ac-9a88185e7312
diff --git a/971CV/src/org/frc971/SocketCommon.java b/971CV/src/org/frc971/SocketCommon.java
index e49a82b..daf3a6c 100644
--- a/971CV/src/org/frc971/SocketCommon.java
+++ b/971CV/src/org/frc971/SocketCommon.java
@@ -53,7 +53,8 @@
 			}
 		}
 		catch (IOException e) {
-			LOG.severe("Socket read failed.");
+			LOG.severe("Socket read failed. Check your network configuration.");
+			Messages.severe("Socket read failed. Check your network configuration.");
 			return null;
 		}
 		return message;
@@ -69,7 +70,8 @@
 				sock.write(message);
 			}
 			catch (IOException e) {
-				LOG.warning("Socket write failed.");
+				LOG.warning("Socket write failed. Check your network configuration.");
+				Messages.severe("Socket write failed. Check your network configuration.");
 				return -1;
 			}
 		}