give a (meaningful) Fatal if there is no root element in the document
fix typo in \date definition
use LookupDefinition instead of isDefinable (since this isn't LaTeX based)
make State not push so many values into its tables
Added binding and test case for xargs; Thanks Kim Philipp Jablonski