Fixed control file monitor on first Tor run; handle key generation failure in ActivityGenerateSelf