That's a funny nightmare. I created something similar, but less parody and more practical. Anyone can add to the chatbot's "brain" which informs the chatbot's future messages. I implemented it following the Million Dollar Homepage's model, i.e: a limited amount of context that is displayed alongside the chat.
Wow, that website is impressively cpu-intensive. Like, I'm on a beefy desktop processor (linux + firefox if it matters), and it's chewing through over 100% cpu and not keeping up. Just having the tab open causes my CPU fans to spin up to max.
The real million dollar homepage at least performs well.