fixed pipe draining at startup.

added arbitrary code-value pairings for manual expts.