Fixing some notices and other bugs in dbc-men