Extended debug narrative. Note: Found problem with PrintState - forgets config, forces invoke of generate hooks, which may "interact" with the user. Bad. See if we can work out if this can be done without a "forget".