Don't scan to edge of images, causes crash sometimes when over the image size. Increased the number of scanlines slightly.
Don't align if bins are empty.