finally fixed UserActionManager. Tried a bunch of dumb stuff but ended up deciding to have the RunActionGroup destructor delete the thread_local instance of the UserActionManager. This is almost ideal. The only thing that dies later than this is the PrimaryGeneratorAction. However, I should probably find a way to move this destruction to a later point. I could at least add a warning, though...