Added some debug tools.  Finding code stream push/pop asymmetry bugs, which were causing some bizarre side effects.