Minor reordering.
Rewriting central loop to reduce dependency on xpath construction.
Completely rewrote the way the lemma switch is handled.
Version bump.
Version bump.
Added --eos and restored build_xpath function.