I also didn't like the fact Teal'c was taken over, it didn't make sense. Also I kept thinking "The Lower Decks -- Star Trek: The Next Generation."
That was ultimately unfounded, because this was much better. I knew it was an exercise at first, Hayley was in it, I guessed it was still an exercise later, Teal'c and other things, but I was taken in at the very end. I like it when you are kept guessing. That's why I like the film "Total Recall" -- I still can't work that one out, and I've seen it about 30 times!!