American Dad 11/11/07

I missed the ending, can anybody spoilerize it for me?

Stan fails to deprogram Haley in time and then learns that instead of having no will for the rest of her life she will turn on her trainer (STAN). There is a huge rolling fight with Haley who corners Stan and shoots him in the head. He awakens thinking it a dream but it actually happened and he survived. Haley is back to normal but has no memory of teh programming. Stan is informed he might have some memory loss due to the injury. Klaus assures Stan he will help his new friend out to which Stan responds “What’s with the talking Fish?”