Fixed BestImage, Still Illegal Pixel Problem

I'm going to look at it again in the morning, but here's what I've
figured out so far:
-The Filler Image Data is not Corrupt (99% sure)
-BestImage Function returns a valid pointer (98% sure)
-problem stems in MyImage::scaleImage when called by
MyImage::drawToImage when called by mosaicclick function in Form1.
It seems that the first n pixels are converted successfully (n appears
to be the blockHeight value, could be coincidential), but after the nth
pixel it has a reading error.  This could be caused by improper
formatting in the function call, improper assigning of parameters of
said function call or something I can't think of at 1 in the morning.

Anyways, here's the updated stuff.  I'm going to sleep on it and see if
I can't find the problem in the morning.