#38: Finished the internal architecture for supporting template
path-specific styles.  Untested.
#38: Forgot to fix some build errors introduced when I finished the
architecture.