remove BUGTXT
print a newline after the BUG: message
demacroise BUG
move the backtrace code to debug.c