Introduced a way to close instrument GUIs without deleting the object
Also fixed a bug in the callback for selecting the log directory in MyDaqMenu