Adding debug outputs to the registration code and more detailed debug messages for illumination correction