Added a lot to printjob, added some tests, and started work on the docs.