Change debug messages a bit.
Make this work for now.
Remove compile warnings for this file.