Add some notes about "signals".
Fix DEBUG_CACHING and DEBUG_SUBSTITUTION.