Added some more debug messages for verbose output.