Updated ReactionQueue to use unique_ptr for reactions