updated guicdoe to hopefully kill on exit