Switch from printf to std::cout
Calm down debug output
Don't print the "invalid signature" message
More debug output tweaks