Add some debug statements and the first steps towards per-python-instance caching.
Add some debug statements and the first steps towards per-python-instance caching.

xj9/greyskull,tokyo-jesus/greyskull,tokyo-jesus/greyskull,xj9/greyskull