Parallel mod

Added the following:

* Parallel image generation
* chapters with latex generation issues should be retried on the next run
* various bugfixes
* added example repo