added more logging, which needs to be cleaned up
modified logging -- dprintf #define from the original version was not working
edited README, tweaked debugging/logging slightly