removed btcdbg() function and references