Moved some debug messages.