That ending was F'ed up though
My brain was like...NO, wait, what? But then I laugh at it.
You otta submit it to the Frederator blog, it might get featured on their youtube channel Mathematical.
I was very impressed with the voice cast, I hope they do more episodes with Niel Patrick Harris.