Updated code to use doubles instead of floats.  Adding to debug output.  Updating handling of timeouts on client and server for more accuracy - incomplete.