if the key is in the registry and that process (value of the key) is still running, exit put the processid of the current process in the registry, creating the key if necessary "rest of program"