Fixed overflow error in ImageProcessor.ensureInSpace()
Fixed dodgy formatting in ImageProcessor.
Added basic image stabilisation for when merging images.