Remove a whole lot of debug printing.
get rid of warnings