Add a debug print framework.
Change printf's to use the debug framework.
Move BFD to debug framework.
Missed a printf to debug_print