Added various debugging information.