Prettied table printing and fixed connect button

Table debug printing now prints valid delimiters: "," for field
separators and ";" for table separators. Also fixed connect button to
reset when server closes socket.