Okay . . . sorry for that. The new version should be up dag-nabbit. Let me know if there are more errors.
Also, I added in a global check for the console messages. Setting the global "RKRDebug" to 1 will show the console messages for adding tokens + creating detection events to verify that they are working as intended.
Updated to 1.1 and did Springvale School and Bethesda Ruins outdoors. Now it works just about perfectly. And it's amazing how profound a difference such a small mod can make. It makes for much more believable and less static combat (at least in sneak mode). The last time I did Springvale I sneak killed one after one in constant "hidden" mode. No one noticed anything before they were dead. Now a couple of the ones above reacted to a sneak kill immediately below, so my char went upstairs, sneak killed a Raider in alert mode through the door opening, another one rushed to the body and looked around (rather stupidly but better than oblivious) - and at the same time a Raider I had seen at the far end of the corridor below attacked me from behind.
Lots of situations like that when those closeby looked around, searched, taunted, came running.
If anything, the radius might be a bit too large perhaps. Outside Springvale School my char sneak killed a Scorpion with a silenced rifle and two of the Raiders like 20-25 meters away, out of sight, "inside" the ruin, went into alert. Seems she perhaps should be able to do silenced kills successfully in such a situation? Or perhaps it is realistic. Not sure.
Anyway, excellent job!