Have the GUI close the data logger connection

When the data-logger window is closed. Might want to refine this to
close the connection only when all sub-windows associated with the data
logger are closed (can someone refresh a bottle window?)