Corrected for loop to accurately reflect the...

...number of chapters. Added a new sub that will check to see if the
user can advance to the next image or not (as a chapter has a limited
number of images). This sub will disable btnNextPiece if intCurrentPiece
= intCurrentPeriodLength.