Get the prefix stack to replace one global prefix.

I added some thoughts to scratch.md for next steps.