Change most calls to printf!'s to debug!

Move towards unified debugging across the application for debugging purposes.
Squash warnings again
Clean up version switching