bugfix where window ctl is not reset following dataset deletion causing the window to fail to open. more minor issues remain than originally existed