Converted text generation to Weave.
Whitespace tweaks.
Added a portable version of the common library.