minor updates. Still many warnings are found by the compiler which needs cleanup.
Fixed bug in animation generation. Specified numbers are now used to select a page of a PDF file only!
Before the number was also used to select the animation step.