Removed the "head" config params, because I've grown to think that
nobody is going to use them.
Also refactored a bit.
The unit tests run smoothly again. Yaaaay.
This commit fixes a problem found by the Translate tests,
which made the divide() function fall into an infinite loop.