Introduction - If you have any usage issues, please Google them yourself
We went an if statement to a while loop so that we iterate through fStartYPtr until a valid row is found. This is so that images that are smaller than 5x5 will not trash memory.