rewrote connection handling code
1.7 code updates
updated version strings