bugfixes for Kurt - test mode Close button named Cancel, OK active when reopening calculations panel