Updated error message and reduced complexity of pngOut magnification..